@import '~ng-devui/styles-var/devui-var.scss';
@import '~ng-devui/devui-layout.css';

.userInfo {
  margin-left: 8.3%;
  margin-right: 8.3%;
  margin-top: 150px;

  .msg {
    height: 240px;
    width: 100%;
    background-color: #23252d;
    border-radius: 2px;

    >div:nth-child(1) {
      height: 120px;
      color: #ffffff;
      text-align: left;
      line-height: 120px;
      font-weight: bold;
      font-size: 20px;
      margin-left: 2.5%;
    }

    >div:nth-child(2) {
      margin-left: 2.5%;
      display: flex;
      flex-direction: row;
      align-items: center;
      flex-wrap: wrap;
      justify-content: flex-start;

      >div:nth-child(n+2) {
        margin-left: 50px;
      }

      >div:nth-child(n+3) {
        >div:nth-child(1) {
          color: #8e8f97;
          font-size: 16px;
        }

        >div:nth-child(2) {
          color: #ffffff;
          font-size: 16px;
          font-weight: bold;
          margin-top: 5px;
        }
      }

      .avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        cursor: pointer;
      }

      .change {
        cursor: pointer;
        width: 80px;
        height: 40px;
        margin-top: -45px;
        opacity: 0.6;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 0 0 40px 40px;
      }

      .userName {
        font-size: 24px;
        text-align: left;
        color: #ffffff;
      }

      .address {
        font-size: 16px;
        color: #8e8f97;
        text-align: left;
      }
    }
  }

  .operation {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 100px;
    padding: 30px;
    border-radius: 2px;
    border: 1px solid #23252d;

    .status {
      width: 18px;
      height: 18px;
    }

    >div:nth-child(1),
    >div:nth-child(2) {
      display: flex;
      height: 100px;

      >div:nth-child(1) {
        margin-left: 20px;
        flex: 1;
        color: #ffffff;
        text-align: left;
        line-height: 100px;
        border-bottom: 1px solid #23252d;

        span {
          margin-left: 10px;
        }
      }

      >div:nth-child(2) {
        flex: 1;
        color: #8e8f97;
        text-align: center;
        line-height: 100px;
        border-bottom: 1px solid #23252d;
      }

      >div:nth-child(3) {
        margin-right: 20px;
        flex: 1;
        color: #ffbf00;
        text-align: right;
        line-height: 100px;
        border-bottom: 1px solid #23252d;
      }
    }

    >div:nth-child(3) {
      display: flex;
      height: 100px;

      >div:nth-child(1) {
        margin-left: 20px;
        flex: 1;
        color: #ffffff;
        text-align: left;
        line-height: 100px;

        span {
          margin-left: 10px;
        }
      }

      >div:nth-child(2) {
        flex: 1;
        color: #8e8f97;
        text-align: center;
        line-height: 100px;
      }

      >div:nth-child(3) {
        margin-right: 20px;
        flex: 1;
        color: #ffbf00;
        text-align: right;
        line-height: 100px;
      }
    }
  }

  .logOff {
    height: 50px;
    width: 100%;
    margin-top: 40px;

    ::ng-deep & button {
      width: 50%;
      height: 50px;
      line-height: 50px;
      font-size: 16px;
      color: #ffffff;
      border: 1px solid #23252d;
      border-radius: 2px;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
      position: relative;
    }
  }
}
